﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="list-detailofbusiness.ascx.cs" Inherits="templates_admin_usercontrols_list_detailofbusiness" %>

<div class="box corners shadow">
    <div class="box-header">
        <h2>
            <img src="../templates/admin/images/address-book-new.png" style="width:40px; height:40px; margin-top:-10px; position:absolute;" />
            <asp:Label ID="lbTitle" runat="server" Text="Lĩnh vực kinh doanh" style="margin-left:40px"></asp:Label>
        </h2>
        <div class="box-header-ctrls">	
        	<a href="javascript:void(null);" title="" class="close"><!-- --></a>
        </div>
        <div class="box-header-ctrls" style="margin-right:10px;">	
        	<asp:Button ID="btnTiengViet" runat="server" Text="Việt" 
                CssClass="inbox-sf-add-btn tip" ToolTip="Tiếng Việt" 
                onclick="btnTiengViet_Click" />        	
        </div>
         <div class="box-header-ctrls" style="margin-right:40px;">	
        	<asp:Button ID="btnTiengAnh" runat="server" Text="English" 
                 CssClass="inbox-sf-add-btn tip" ToolTip="English" onclick="btnTiengAnh_Click" />        	
        </div>
    </div>
    
    <div class="box-content" id="articles-2">
       <div class="inbox-sf">
           <asp:TextBox ID="txtTuKhoaVn"  CssClass="input-1" runat="server" onFocus="if(this.value=='Từ khóa...')this.value='';" onBlur="if(this.value=='')this.value='Từ khóa...';">Từ khóa...</asp:TextBox>
            
            <select name="" class="select-1">
                <option value="">-----Chọn lĩnh vực-----</option>
                <option value="">Cung ứng thiết bị</option>
                <option value="">Sản xuất</option>
                <option value="">Đầu tư xây dựng cơ bản</option>                
            </select>            
            <asp:Button ID="btnTim" runat="server" Text="Tìm" CssClass="inbox-sf-search-btn" />
            
           <asp:Button ID="btnThem" runat="server" Text="Thêm" 
               CssClass="inbox-sf-add-btn tip" ToolTip="Thêm danh mục lĩnh vực mới" 
               />           
                       
        </div>
        <ul class="articles-list-2">            
             <asp:Repeater ID="rptDanhMucLinhVuc" runat="server" >                         
                <ItemTemplate>                                                                                
                  <li class="art">
                    <div class="articles-left">
        	            <b><asp:Label ID="lbLinhVuc" runat="server" Text="Lĩnh vực kinh doanh :"></asp:Label> </b> <%#Eval("TenLinhVuc")%> 
                        <br> 
                        </br>
        	             <b><asp:Label ID="lbDanhMuc" runat="server" Text="Danh mục :"></asp:Label> </b> <%#Eval("TenChiTiet")%> 
                        <br> 
                        </br>
                        <p>
                           <b><asp:Label ID="lbTomTat" runat="server" Text="Tóm tắt :"></asp:Label></b> <%#Eval("TomTatDanhmuc")%>
                        </p>
                    </div>               
                    <div class="articles-right-ctrls">
                        <asp:HyperLink ID="hplSua" runat="server" class="edit-contact gradient-btn" title="Sửa bài viết" NavigateUrl='<%# "~/admin/addnews.aspx?action=edit&info=" + Eval("IdChiTiet") %>'>Sửa</asp:HyperLink>
                        <asp:LinkButton ID="lbtTrangThai" runat="server" class="edit-contact gradient-btn" title="Thay đổi trạng thái " CommandArgument='<%# Eval("IdChiTiet")%>' CommandName="statusupdate">Trạng thái</asp:LinkButton>                                        
                        <asp:LinkButton ID="lbtXoa" runat="server" title="Xóa bài viết này" onclientclick="return confirm('Chắc chắn rằng bạn muốn xóa bài viết này?');" class="delete-contact gradient-btn" CommandArgument='<%# Eval("IdChiTiet")%>' CommandName="xoa">Xóa</asp:LinkButton>
                        <asp:CheckBox ID="checkbox" runat="server" CssClass="check" />                   
                    </div>
                </li>      
                </ItemTemplate>
                <FooterTemplate></tbody></FooterTemplate>
             </asp:Repeater>                                
        </ul><!-- END "#articles-list-2" -->                     
          <ul class="box-nav" style="display:inline-table;" runat="server" id="PhanTrang">
                        <li>
                            <asp:LinkButton ID="lbtnFirst" runat="server" CausesValidation="false" 
                                        OnClick="lbtnFirst_Click" CssClass="prev">Đầu</asp:LinkButton>
                        </li>
                        <li>
                            <asp:LinkButton ID="lbtnPrevious" runat="server" CausesValidation="false" 
                                        OnClick="lbtnPrevious_Click" CssClass="prev">Trước</asp:LinkButton>
                        </li>
                        <li>
                            <asp:DataList ID="dlPaging" runat="server" OnItemCommand="dlPaging_ItemCommand" 
                                OnItemDataBound="dlPaging_ItemDataBound" RepeatDirection="Horizontal">
                                <ItemTemplate>                                
                                    <asp:LinkButton ID="lnkbtnPaging" runat="server" CssClass="num" 
                                        CommandArgument='<%# Eval("PageIndex") %>' CommandName="Paging" 
                                        Text='<%# Eval("PageText") %>'></asp:LinkButton>                                
                                </ItemTemplate>
                            </asp:DataList>
                        </li>                        
                        <li>
                            <asp:LinkButton ID="lbtnNext" runat="server" CausesValidation="false" 
                                        OnClick="lbtnNext_Click" CssClass="next">Tiếp</asp:LinkButton>
                        </li>
                        <li>
                            <asp:LinkButton ID="lbtnLast" runat="server" CssClass="next" CausesValidation="false" 
                                        OnClick="lbtnLast_Click">Cuối</asp:LinkButton>
                        </li>                        
                        <asp:Label ID="lblPageInfo" runat="server" Visible="false"></asp:Label>
                    </ul>
        <div class="bulk-actions">           
            <asp:Button ID="btnLamMoi" runat="server" Text="Làm mới" 
                 />
            <asp:Button ID="btnXoa" runat="server" Text="Xóa" CssClass="tip" ToolTip="Xóa bài viết đã chọn" />
        </div>                      
    </div><!-- END ".box-content" --> 
</div><!-- END ".box" -->